package com.application.lucky.bean.jsonBean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.List;

public class FriendListbean {

    /**
     * time : 1560499976000
     * friendList : [{"userId":1,"user":{"userId":1,"surfing":100124,"nickName":"100124","desc":"","headPic":"","sex":0,"birthday":""},"friendState":2,"createTime":1560397441000,"friendTitle":"","toFriendTitle":"","remarks":"","friendIntegral":0,"friendIntegralPlay":0,"deleteUserId":0,"friendTime":9255138950},{"userId":3,"user":{"userId":3,"surfing":100126,"nickName":"100126","desc":null,"headPic":null,"sex":0,"birthday":null},"friendState":2,"createTime":1560502861000,"friendTitle":"","toFriendTitle":"","remarks":"","friendIntegral":0,"friendIntegralPlay":0,"deleteUserId":0,"friendTime":9149718950},{"userId":11,"user":null,"friendState":2,"createTime":1560425465000,"friendTitle":"","toFriendTitle":"","remarks":"","friendIntegral":0,"friendIntegralPlay":0,"deleteUserId":0,"friendTime":9227114950},{"userId":13,"user":null,"friendState":2,"createTime":1561534341000,"friendTitle":"","toFriendTitle":"","remarks":"","friendIntegral":0,"friendIntegralPlay":0,"deleteUserId":0,"friendTime":8118238950},{"userId":19,"user":null,"friendState":2,"createTime":1560415153000,"friendTitle":"","toFriendTitle":"","remarks":"","friendIntegral":1,"friendIntegralPlay":0,"deleteUserId":0,"friendTime":9237426950},{"userId":23,"user":null,"friendState":2,"createTime":1560502985000,"friendTitle":"","toFriendTitle":"","remarks":"","friendIntegral":0,"friendIntegralPlay":0,"deleteUserId":0,"friendTime":9149594950},{"userId":24,"user":null,"friendState":2,"createTime":1560360651000,"friendTitle":"","toFriendTitle":"","remarks":"","friendIntegral":7,"friendIntegralPlay":0,"deleteUserId":0,"friendTime":9291928950},{"userId":32,"user":null,"friendState":2,"createTime":1560397446000,"friendTitle":"","toFriendTitle":"","remarks":"","friendIntegral":0,"friendIntegralPlay":0,"deleteUserId":0,"friendTime":9255133950},{"userId":33,"user":null,"friendState":2,"createTime":1560397441000,"friendTitle":"","toFriendTitle":"","remarks":"","friendIntegral":69,"friendIntegralPlay":0,"deleteUserId":0,"friendTime":9255138950},{"userId":34,"user":null,"friendState":2,"createTime":1560371616000,"friendTitle":"","toFriendTitle":"","remarks":"","friendIntegral":10,"friendIntegralPlay":0,"deleteUserId":0,"friendTime":9280994101},{"userId":35,"user":null,"friendState":2,"createTime":1560481063000,"friendTitle":"","toFriendTitle":"","remarks":"","friendIntegral":0,"friendIntegralPlay":0,"deleteUserId":0,"friendTime":9171516950},{"userId":36,"user":null,"friendState":2,"createTime":1560499976000,"friendTitle":"","toFriendTitle":"","remarks":"","friendIntegral":0,"friendIntegralPlay":0,"deleteUserId":0,"friendTime":9152603950}]
     */

    private long time;
    private List<FriendListBean> friendList;

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public List<FriendListBean> getFriendList() {
        return friendList;
    }

    public void setFriendList(List<FriendListBean> friendList) {
        this.friendList = friendList;
    }

//    @Entity
    public static class FriendListBean {
        /**
         * userId : 1
         * user : {"userId":1,"surfing":100124,"nickName":"100124","desc":"","headPic":"","sex":0,"birthday":""}
         * friendState : 2
         * createTime : 1560397441000
         * friendTitle :
         * toFriendTitle :
         * remarks :
         * friendIntegral : 0
         * friendIntegralPlay : 0
         * deleteUserId : 0
         * friendTime : 9255138950
         */
//        @Id
        private Long userId;
        private FriendBean user;
        private int friendState;
        private long createTime;
        private String friendTitle;
        private String toFriendTitle;
        private String remarks;
        private int friendIntegral;
        private int friendIntegralPlay;
        private int deleteUserId;
        private long friendTime;

        public long getUserId() {
            return userId;
        }

        public void setUserId(long userId) {
            this.userId = userId;
        }

        public FriendBean getUser() {
            return user;
        }

        public void setUser(FriendBean user) {
            this.user = user;
        }

        public int getFriendState() {
            return friendState;
        }

        public void setFriendState(int friendState) {
            this.friendState = friendState;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getFriendTitle() {
            return friendTitle;
        }

        public void setFriendTitle(String friendTitle) {
            this.friendTitle = friendTitle;
        }

        public String getToFriendTitle() {
            return toFriendTitle;
        }

        public void setToFriendTitle(String toFriendTitle) {
            this.toFriendTitle = toFriendTitle;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public int getFriendIntegral() {
            return friendIntegral;
        }

        public void setFriendIntegral(int friendIntegral) {
            this.friendIntegral = friendIntegral;
        }

        public int getFriendIntegralPlay() {
            return friendIntegralPlay;
        }

        public void setFriendIntegralPlay(int friendIntegralPlay) {
            this.friendIntegralPlay = friendIntegralPlay;
        }

        public int getDeleteUserId() {
            return deleteUserId;
        }

        public void setDeleteUserId(int deleteUserId) {
            this.deleteUserId = deleteUserId;
        }

        public long getFriendTime() {
            return friendTime;
        }

        public void setFriendTime(long friendTime) {
            this.friendTime = friendTime;
        }


    }
}
